Ext.define("App.model.School", {
    extend: "Ext.data.Model",
    config: {
        fields: [{
            name: "sid",
            type: "string"
        },
        {
            name: "sname",
            type: "string"
        },
        {
            name: "address",
            type: "string"
        },
        {
            name: "postcode",
            type: "string"
        },
        {
            name: "tel",
            type: "string"
        },
        {
            name: "introduction",
            type: "string"
        },
        {
            name: "state",
            type: "string"
        },
        {
            name: "shortname",
            type: "string"
        },
        {
            name: "route",
            type: "string"
        },
        {
            name: "fullTitle",
            type: "string"
        },
        {
            name: "subjects",
            type: "object"
        },
        
        {
            name: "scores",
            type: "object"
        },
        {
            name: "type",
            type: "string"
        },      
        {
            name: "teachers",
            type: "object"
        },        
        {
            name: "isKey",
            type: "string"
        }]
    
    }
});